package templatePattern;

/**
 * @author LIBOFEI
 * @ClassName Previous
 * @description 前端类
 * @date 2020/6/26 14:25
 * @Version 1.0
 **/
public class Previous {

    //前端一天流程
    public void today(){
        call();
        breakFast();
        working();
        workCommit();
        workAfter();
    }

    public void call(){
        System.out.println("打卡");
    }

    public void breakFast(){
        System.out.println("吃早餐");
    }

    public void working(){
        System.out.println("前端开始工作");
        System.out.println("npm run dev...");
    }

    public void workCommit(){
        System.out.println("提交代码");
    }

    public void workAfter(){
        System.out.println("下班");
    }
}
